package com;

import java.util.Scanner;

public class Demo {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入内容:");
        String line = scanner.nextLine();

        for (int i = 0; i < 10;i++){
            String message = "有人说:";
            System.out.println(message == line);
        }
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入内容:");
        String line = scanner.nextLine();

        for (int i = 0; i < 10;i++){
            String str = "这个人说:";
            System.out.println(str + line +"~~~~~~");
        }
    }
}
